using System.Collections.Generic;
using System.Text;
using System;
using NHibernate.Collection;
using NHibernate.Mapping;
using Iesi.Collections;
namespace JVLMRP 
{
    class MRPProductTypes 
    {
        int producttypeid;
        string productypename;
        ISet mrpproductsList;

        public MRPProductTypes()
        {

        }

        public virtual int Producttypeid
        {
            get { return producttypeid; }
            set { producttypeid= value; }
        }

        public virtual string Productypename
        {
            get { return productypename; }
            set { productypename= value; }
        }

        public virtual ISet MrpproductsList
        {
            get { return mrpproductsList; }
            set { mrpproductsList= value; }
        }

        public override string ToString()
        {
            String s = "";
            if(producttypeid!=null)
	            s+= "producttypeid : "+ producttypeid.ToString()+"\n";
            else
	            s+= "producttypeid : null\n";
            if(productypename!=null)
	            s+= "productypename : "+ productypename.ToString()+"\n";
            else
	            s+= "productypename : null\n";
            return s;
        }
    }
}
